<div class="panel-body">
    <div class="table-responsive">
        <table class="table table-striped table-hover">
            <thead>
            <tr>
                <g:sortableColumn property="serialNumber" title="编号"/>
                <g:sortableColumn property="subject" title="主题"/>
                <g:sortableColumn property="description" title="描述"/>
                <g:sortableColumn property="status" title="状态"/>
                <g:sortableColumn property="origin" title="来源"/>
                <g:sortableColumn property="priority" title="优先级"/>
                <g:sortableColumn property="type" title="类型"/>
                <g:sortableColumn property="reason" title="原因"/>
                <g:sortableColumn property="account" title="客户"/>
                <g:sortableColumn property="contact" title="联系人"/>
                <g:sortableColumn property="createBy" title="创建人"/>
                <g:sortableColumn property="modifyBy" title="修改人"/>
                <g:sortableColumn property="user" title="用户"/>
                <g:sortableColumn property="createdDate" title="创建时间"/>
                <g:sortableColumn property="modifiedDate" title="修改时间"/>
            </tr>
            </thead>
            <tbody>
            <g:each in="${issueList}">
                <tr>
                    <td><g:link action="show" controller="issue" id="${it?.id}"
                                class="firstTd">${it?.serialNumber}</g:link></td>
                    <td>${it?.subject}</td>
                    <td>${it?.description}</td>
                    <td>${it?.status?.name}</td>
                    <td>${it?.origin?.name}</td>
                    <td>${it?.priority?.name}</td>
                    <td>${it?.type?.name}</td>
                    <td>${it?.reason?.name}</td>
                    <td>${it?.account?.name}</td>
                    <td>${it?.contact?.fullName}</td>
                    <td>${it?.createBy}</td>
                    <td>${it?.modifyBy}</td>
                    <td>${it?.user}</td>
                    <td><g:formatDate date="${it?.createdDate}"
                                      format="yyyy-MM-dd HH:mm:ss"></g:formatDate></td>
                    <td><g:formatDate date="${it?.modifiedDate}"
                                      format="yyyy-MM-dd HH:mm:ss"></g:formatDate></td>

                </tr>
            </g:each>
            </tbody>
        </table>
    </div>
</div>